package org.example.cloudapply.dto;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.example.cloudapply.entity.CloudType;

@Data
public class TemplateCreateDTO {
    @NotNull(message = "云平台类型不能为空")
    private CloudType cloudType;

    @NotNull(message = "CPU核心数不能为空")
    private Integer cpuCores;

    @NotNull(message = "内存大小不能为空")
    private Integer memoryGb;

    @NotNull(message = "GPU支持状态不能为空")
    private Boolean gpuSupported;
}
